package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 渠道(分销)用户
 * @author Rongjie
 */
@Data
@TableName("mall_customer")
@KeySequence(value = "mall_customer_SEQ")
@ApiModel(value = "MallCustomer对象")
public class MallCustomer implements Serializable{

       @ApiModelProperty(value = "应用KEY")
       private String appKey;

       @TableId(value = "customer_key", type = IdType.UUID)
       @ApiModelProperty(value = "商户KEY(B端)")
       private String customerKey;

       @ApiModelProperty(value = "昵称")
       private String nickname;

       @ApiModelProperty(value = "性别")
       private String sex;

       @ApiModelProperty(value = "头像")
       private String avatar;

       @ApiModelProperty(value = "手机号码")
       private String phone;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

}
